package entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName(value = "shop_order")
public class Order {
    //订单id
    @TableId
    private Long oid;
    //用户id
    private Integer uid;
    //用户名
    private String username;

    //订单id
    private Long pid;
    //商品名称
    private String pname;
    //商品价格
    private Double pprice;
    //商品数量
    private Integer number;
}
